package cn.edu.nit.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author xiaobai
 * @Date 2023/3/19 15:00
 * @Version 1.0.0
 */
@Data
@TableName("sys_subject")
public class Subject {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String name;
    private String teacherId;
    private String teacher;
    private String clazz;
    private int duration;
    @TableField("time")
    private String timeStr;
    private float score;
    private String grade;
    private String year;
}
